package exsun.jt808.data.distribute_data.jt1078;

import exsun.jt808.data.distribute_data.DistributeEntity;

import java.io.Serializable;

/**
 * 云台旋转
 */
public class PanTiltRotate extends DistributeEntity implements Serializable {
    /**
     * 通道号
     */
    private int channelId;
    /**
     * 方向
     * 0：停止 1：上2：下 3：左 4：右；
     */
    private int direction;
    /**
     * 速度 0~255
     */
    private int speed;

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }
}
